<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
    <script type="text/javascript" th:src="@{/js/jquery-3.2.1.js}"></script>
    <link rel="stylesheet" th:href="@{/layui/layui.css}" />
    <script th:src="@{/layui/layui.all.js}"></script>
</head>
<body>


<script>

    layui.layer.open(
        {
            title: '提示'
            , content: '停留时间过长，请重新登录'
            , btn: ['确定']
            , yes: function (index, layero) {
            parent.window.location.replace('/dor/login');
        }
        }
    );
</script>
</body>
</html>